package com.foreveross.crawl.common.application;

import java.io.Serializable;
import java.util.List;

import com.foreveross.crawl.common.domain.IBaseEntity;

public interface IBaseApplication {

	public <T extends IBaseEntity> List<T> listAll(Class<T> clazz) throws Exception;
	
	public <T extends IBaseEntity> T find(Class<T> clazz, Serializable id) throws Exception;
}
